<?php
namespace Console;

use Console\Config\Bootstrap;

set_time_limit(0);
date_default_timezone_set('Etc/GMT-8');
define('APP_PATH', __DIR__);
include_once __DIR__ . '/Config/Bootstrap.php';
$envConfig = parse_ini_file(dirname(APP_PATH) . '/.env', true);
define('ENVIRONMENT', $envConfig['ENVIRONMENT']);
$bootstrap = new Bootstrap($envConfig);
$bootstrap->run($argv, 'OBD');

